#ifndef XENGINE_CORE_H
#define XENGINE_CORE_H
#include <assert.h>
#include <istream>

#if !defined(NDEBUG)
#define ASSERT(x,message)  if(!x){std::cout<<"MESSAGE: "<<message<<std::endl;assert(x);};
#define ASSERT_INFO(x,message,info)  if(!x){std::cout<<"MESSAGE: "<<message<<"\ninfo:"<<info<<std::endl;assert(x);};
#else
#define ASSERT(x,message)  ((void)0)
#define ASSERT_INFO(x,message)  ((void)0)
#endif


#endif //XENGINE_CORE_H
